﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day02
{
    public class Programmer : Employee
    {
        //public override float Commission()
        //{
        //    return 2000;
        //}
        public float Bonus { get; set; }
        public override float CalculateSalary()
        {
            return base.CalculateSalary() + Bonus;
        }
    }
}